package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Category;

/**
 * @author Admin
 */
public interface CategoryService {


    PageInfo<Category> findByPage(Integer pageNum,Integer pageSize);

    void saveCategory(Category category);

    Category findCategoryById(Integer id);

    void upDate(Category category);

    void deleteById(Integer id);
   void deleteSelect(Integer[] ids);
}
